(function($){
	$.popTip=function(o){
		var d={
			t:'该职位含有敏感词，需要客服审核，请耐心等待！',
			btn:'',
			callback:'',
			close:'t'
		},
		f=$.extend({},d,o),s=$.popTip;
		if($('.popTip').length==0){
			var html = '<div class="popTip popmask"></div>';
				html += '<div class="popTip popwin">';
				html += '<iframe style="width:100%;height:100%;opacity:0;filter:alpha(opacity:0);background:#000;z-index:-1;position:absolute;left:0;top:0;"></iframe>';
				if(f.close=='t'){
					html += '<span class="close_c close"></span>';
				}
				html += '<p class="popcon"></p>';
				html += '<p class="poplink"></p>';
				html += '</div>'
				
			$('body').append(html);

			s.m = $('.popTip');
			s.m.a=s.m.filter('.popmask');
			s.m.b=s.m.filter('.popwin');

			s.m.ini=function(t,btn){
				s.m.a.css('height',$(document).height())
				s.m.b.css('top',$(window).scrollTop()+200);
				s.m.find('.popcon').text(t);
				s.m.find('.poplink').html(btn);
				return this;
			}

			s.m.delegate('.close', 'click', function(){s.m.hide()});
		}

		s.m.ini(f.t,f.btn).show();

		if(f.callback!==undefined && typeof(f.callback)=='function') {
			f.g={a:s.m.a[0],b:s.m.b[0]};
			f.callback(f.g);
		}

		return this;
	}
})(jQuery)